package com.xyc.redis.vo;


import com.xyc.redis.pojo.TbProduct;

public class ProductVO {

  private long productId;
  private String productCode;
  private String productName;
  private long productType;
  private long productBrand;
  private long imageId;
  private long productMinPrice;
  private long productHighPrice;
  private boolean zan;

  public ProductVO(TbProduct product) {
    this.productId=product.getProductId();
    this.productName=product.getProductName();
    this.productHighPrice=product.getProductHighPrice();
  }

  public boolean isZan() {
    return zan;
  }

  public void setZan(boolean zan) {
    this.zan = zan;
  }

  public long getProductId() {
    return productId;
  }

  public void setProductId(long productId) {
    this.productId = productId;
  }


  public String getProductCode() {
    return productCode;
  }

  public void setProductCode(String productCode) {
    this.productCode = productCode;
  }


  public String getProductName() {
    return productName;
  }

  public void setProductName(String productName) {
    this.productName = productName;
  }


  public long getProductType() {
    return productType;
  }

  public void setProductType(long productType) {
    this.productType = productType;
  }


  public long getProductBrand() {
    return productBrand;
  }

  public void setProductBrand(long productBrand) {
    this.productBrand = productBrand;
  }


  public long getImageId() {
    return imageId;
  }

  public void setImageId(long imageId) {
    this.imageId = imageId;
  }


  public long getProductMinPrice() {
    return productMinPrice;
  }

  public void setProductMinPrice(long productMinPrice) {
    this.productMinPrice = productMinPrice;
  }


  public long getProductHighPrice() {
    return productHighPrice;
  }

  public void setProductHighPrice(long productHighPrice) {
    this.productHighPrice = productHighPrice;
  }

}
